package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.CenterForbiddenwords;
import com.woniuxy.common.entity.CenterForbiddenwordsExample;
import com.woniuxy.common.entity.ForumForum;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CenterForbiddenwordsMapper {
    long countByExample(CenterForbiddenwordsExample example);

    int deleteByExample(CenterForbiddenwordsExample example);

    int deleteByPrimaryKey(String centerFibwordid);

    int insert(CenterForbiddenwords record);

    int insertSelective(CenterForbiddenwords record);

    List<CenterForbiddenwords> selectByExample(CenterForbiddenwordsExample example);

    CenterForbiddenwords selectByPrimaryKey(String centerFibwordid);

    int updateByExampleSelective(@Param("record") CenterForbiddenwords record, @Param("example") CenterForbiddenwordsExample example);

    int updateByExample(@Param("record") CenterForbiddenwords record, @Param("example") CenterForbiddenwordsExample example);

    int updateByPrimaryKeySelective(CenterForbiddenwords record);

    int updateByPrimaryKey(CenterForbiddenwords record);

    /**
     * @return int
     * @Author ArmWatt
     * @Date 2020/5/11
     * @Param [centerForbiddenwords]
     * @Description 批量插入禁词
     **/
    int batchInsertWords(List<CenterForbiddenwords> words);

}